import axios from '../../libs/api.request'
// import qs from 'qs'
/*
* 为某角色管理其用户
* */
export const saveRoleUser=(data)=>{
  return axios.request({
    url:'roleUser/save',
    data:data,
    method:'post'
  })
}
export const deleteRoleUser=(data)=>{
  return axios.request({
    url:'roleUser/delete',
    data:data,
    method:'post'
  })
}
export const getRoleUserList=(data)=>{
  return axios.request({
    url:'roleUser/getRoleUserList',
    data:data,
    method:'post'
  })
}
export const getNotRoleUserList=(data)=>{
  return axios.request({
    url:'roleUser/getNotRoleUserList',
    data:data,
    method:'post'
  })
}
